package com.dai.uvs.model;

public class Validation {

	public Validation() {

	}

	public boolean validate(String username, String password) throws NullPointerException{
		if (username.length() < 8
				|| (password.length() < 8 || password.length() > 20)) {
			return false;
		}
		return true;
	}
}
